<ul id="sidebar-nav">
	<li><a class="a_click" href="#">Quản trị Video</a>
		<ul class="drop" style="<?php if($this->controller == 'index') echo 'display: block;' ?>">
  			<li><a href="/admin/index"><img src="/images/adminbase/icons/16/comments.png">Danh sách</a></li>
			<li><a href="/admin/index/add"><img src="/images/adminbase/icons/16/comment_add.png">Thêm mới</a></li>
		</ul>
	</li>
    <li><a class="a_click" href="#">Quản trị Tin tức</a>
		<ul class="drop" style="<?php if($this->controller == 'news') echo 'display: block;' ?>">
  			<li><a href="/admin/news/index"><img src="/images/adminbase/icons/16/comments.png">Danh sách</a></li>
			<li><a href="/admin/news/add"><img src="/images/adminbase/icons/16/comment_add.png">Thêm mới</a></li>
		</ul>
	</li>
    <li><a class="a_click" href="#">Quản trị Thư mục</a>
		<ul class="drop" style="<?php if($this->controller == 'type') echo 'display: block;' ?>">
  			<li><a href="/admin/type"><img src="/images/adminbase/icons/16/comments.png">Quản trị</a></li>
		</ul>
	</li>
    <li><a class="a_click" href="#">Quản trị TV Online</a>
		<ul class="drop" style="<?php if($this->controller == 'tvonline') echo 'display: block;' ?>">
  			<li><a href="/admin/tvonline"><img src="/images/adminbase/icons/16/comments.png">Danh sách</a></li>
            <li><a href="/admin/tvonline/add"><img src="/images/adminbase/icons/16/comment_add.png">Thêm kênh</a></li>
		</ul>
	</li>
    <li><a class="a_click" href="#">Quản trị quảng cáo</a>
		<ul class="drop" style="<?php if($this->controller == 'ads') echo 'display: block;' ?>">
  			<li><a href="/admin/ads"><img src="/images/adminbase/icons/16/comments.png">Danh sách</a></li>
			<li><a href="/admin/ads/add"><img src="/images/adminbase/icons/16/comment_add.png">Thêm mới</a></li>
		</ul>
	</li>
    <li><a class="a_click" href="#">Quản trị Bài viết</a>
		<ul class="drop" style="<?php if($this->controller == 'guide') echo 'display: block;' ?>">
  			<li><a href="/admin/guide/index"><img src="/images/adminbase/icons/16/comments.png">Hướng dẫn</a></li>
            <li><a href="/admin/guide/contact"><img src="/images/adminbase/icons/16/comments.png">Liên hệ</a></li>
            <li><a href="/admin/guide/policy"><img src="/images/adminbase/icons/16/comments.png">Chính sách và Bảo mật</a></li>
		</ul>
	</li>
	<li><a class="a_click" href="#">Admin</a>
		<ul class="drop" style="<?php if($this->controller == 'admin') echo 'display: block;' ?>">
  			<li><a href="/admin/admin/account"><img src="/images/adminbase/icons/16/user.png">Quản trị</a></li>
		</ul>
	</li>
    <li><a class="a_href" href="/admin/settings/index">Cấu hình Website</a>
	</li>
    <li><a class="a_click" href="#">Thống kê website</a>
		<ul class="drop" style="<?php if($this->controller == 'statistics') echo 'display: block;' ?>">
  			<li><a href="/admin/statistics/down-mp3"><img src="/images/adminbase/icons/16/comments.png">Tải MP3</a></li>
		</ul>
	</li>
 
</ul>
<!-- End SideBar -->
<br class="cl" /> 
<script type="text/javascript">
//Menu sidebar
$('.a_click').click(function(){
	    if ($(this).attr('class') != 'active'){
	      $('#sidebar-nav li ul').slideUp();
	      $(this).next().slideToggle();
	      $('#sidebar-nav li a').removeClass('active');
	      $(this).addClass('active');
		  return false;
	    }
	  });
</script>
